package com.offcn.user.exception;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: wzy
 * @Date: 2021/01/25/12:25
 * @Description:
 */

import com.offcn.user.enums.UserExceptionEnum;

/**
 * 单表所有用户异常
 * 邮箱
 * 用户名
 * 密码
 */
public class UserException extends RuntimeException{
    public UserException(UserExceptionEnum exceptionEnum) {
        super(exceptionEnum.getMsg());
    }
}
